package br.unisinos.aidk.samples;

import java.io.IOException;

import br.unisinos.aidk.rules.DomainLoader;
import br.unisinos.aidk.rules.InferenceEngine;

public class Rules2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {		
		InferenceEngine engine = new InferenceEngine();
		DomainLoader loader = new DomainLoader();
		try {
			loader.loadDomain(engine,"/animais.txt");
		} catch (IOException e) {
			e.printStackTrace();
		}		
		engine.start();
		engine.result();
	}
}
